gsk: Remove spread member from GskShadow
authorBenjamin Otte <otte@redhat.com>
Wed, 21 Dec 2016 04:30:31 +0000 (05:30 +0100)
committerBenjamin Otte <otte@redhat.com>
Fri, 23 Dec 2016 07:11:00 +0000 (08:11 +0100)
I had originally thought I'd use GskShadow for box-shadow, but didn't in
the end.

So now it's only used for text-shadow and icon-shadow, and those don't
have a spread.

gsk/gskrendernode.h
gtk/gtkcssshadowvalue.c

index fad1e53c297294e3331dc616982361efdb4292df..39c134a963af566bf7179da633975ef518ee93b9 100644 (file)
@@ -47,7 +47,6 @@ struct _GskShadow
   GdkRGBA color;
   float dx;
   float dy;
-  float spread;
   float radius;
 };
 
index bcb874db98e0f5f358872e82449340d716ed70b5..5bbb315e4151ff45675794da34e33e3b26d1e0e7 100644 (file)
@@ -631,7 +631,6 @@ gtk_css_shadow_value_get_shadow (const GtkCssValue *value,
   shadow->color = *_gtk_css_rgba_value_get_rgba (value->color);
   shadow->dx = _gtk_css_number_value_get (value->hoffset, 0);
   shadow->dy = _gtk_css_number_value_get (value->voffset, 0);
-  shadow->spread = _gtk_css_number_value_get (value->spread, 0);
   shadow->radius = _gtk_css_number_value_get (value->radius, 0);
 }